[#if channel??][#assign cid=channel.id/][/#if]
[#if content??][#assign cid=content.channel.id/][/#if]
	<div id="header">
    	<div class="header_top">
        	<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="419" height="139" id="ballGame">
                <param name="movie" value="/${res}/images/1.swf" />
                <param name="quality" value="high" />
                <param name="wmode" value="transparent" />
                <embed src="/${res}/images/1.swf" quality="high" wmode="transparent" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="419" height="139" ></embed>
      		</object>
        </div>
    	<div class="header_bottom">
        	<div id="nav">
            	<ul id="menu">
            	[@cms_channel_list]
            	<li class="link_green1"><a href="${base}/index.jsp" [#if !cid??]class="bold"[/#if]>首页</a></li>
            	[#list tag_list as c]
            	<li class="link_green1"><a href="${c.url}" [#if cid?? && cid==c.id]class="bold"[/#if]>${c.name}</a></li>
            	[/#list]
            	[/@cms_channel_list]
            	<li class="link_green1"><a href="${base}/guestbook.jsp?ctgId=3">留言板</a></li>
                </ul>
                [#if user??]
                <div id="loginInfo">${user.username} 欢迎您！<span class="split_gray">|</span><a href="${base}/member/contribute_list.jsp">投稿</a><span class="split_gray">|</span><a href="${base}/logout.jsp?returnUrl=/">退出</a></div>
                [#else]
                <div id="loginInfo">游客 您好！<span class="split_gray">|</span><a href="${base}/register.jsp">注册</a><span class="split_gray">|</span><a href="${base}/login.jsp?returnUrl=${base}/member/trends_list.jsp">登录</a></div>
                [/#if]
                <div class="clear"></div>
            </div>
        </div>
    </div>